package com.strongwell.awe.service;

import com.strongwell.awe.model.CmsArticleEntity;

import java.util.List;
import java.util.Map;

/**
 * 文章表
 * 
 * @author bridgezn
 * @email 39440421@qq.com
 * @date 2018-09-13 23:19:26
 */
public interface CmsArticleService {
	
	CmsArticleEntity queryObject(Long id);
	
	List<CmsArticleEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(CmsArticleEntity cmsArticle);
	
	int update(CmsArticleEntity cmsArticle);
	
	int delete(Long id);
	
	int deleteBatch(Long[] ids);

    int delById(Long id);

    int delPatch(String cmsarticlestr);

	CmsArticleEntity queryName(String name);

	List<CmsArticleEntity> queryArticleList(int num);

	List<CmsArticleEntity> queryListInfo(Long id,Map<String, Object> map);

	List<CmsArticleEntity> queryArticle(String module);
}
